package com.bdqn.vueboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 司机表
 * @TableName driver
 */
@TableName(value ="driver")
@Data
public class Driver implements Serializable {
    /**
     * 司机id
     */
    @TableId
    private Integer driverId;

    /**
     * 司机名称
     */
    private String driverName;

    /**
     * 是否可用 0:没事1：请假 2：出车 3:其他原因
     */
    private int driverUsable;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
